<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div class="fixed-table-toolbar">
						<div class="columns pull-left">
							<button shiro:hasPermission="agentL3:manage:add" type="button" class="btn btn-primary" onclick="add()">
								<i class="fa fa-plus" aria-hidden="true"></i>添加
							</button>
							<!--<button shiro:hasPermission="agentL3:manage:batchRemove"  type="button" class="btn  btn-danger"-->
								<!--onclick="batchRemove()"><i class="fa fa-trash" aria-hidden="true"></i>批量停用-->
							<!--</button>-->
							<!--<button shiro:hasPermission="agentL3:manage:hiden"  type="button" class="btn  btn-danger"-->
								<!--onclick="batchHide(1)"><i class="fa fa-adjust" aria-hidden="true"></i>隐藏入驻-->
							<!--</button>-->
								<!--<button shiro:hasPermission="agentL3:manage:hiden"  type="button" class="btn  btn-danger"-->
								<!--onclick="batchHide(0)"><i class="fa fa-eye" aria-hidden="true"></i>显示入驻-->
							<!--</button>-->
						</div>
						<div class="columns pull-right" role="group">
							<button class="btn btn-success" onclick="reLoad()">
								<i class="fa fa-search" aria-hidden="true"></i>查询
							</button>
						</div>
						<div class="pull-left search col-md-2 nopadding">
							<input id="name" type="text" class="form-control" placeholder="公司名/个人名">
						</div>
						<div class="pull-left search col-md-2 nopadding">
							<input id="mobile" type="text" class="form-control" placeholder="手机号">
						</div>
						<!--<div class="columns pull-left col-md-2 nopadding">-->
							<!--<select id="type" data-placeholder="选择类别" class="form-control chosen-select" tabindex="2">-->
								<!--<option value="" selected="selected">所有类别</option>-->
								<!--<option value="1">企业</option>-->
								<!--<option value="0">个人</option>-->
							<!--</select>-->
						<!--</div>-->
						<!--<div class="columns pull-left col-md-2 nopadding">-->
							<!--<select id="status" data-placeholder="选择状态" class="form-control chosen-select" tabindex="2">-->
								<!--<option value="">所有状态</option>-->
								<!--<option value="1" selected>启用</option>-->
								<!--<option value="0">停用</option>-->
								<!--<option value="2">待审核</option>-->
								<!--<option value="3">已拒绝</option>-->
							<!--</select>-->
						<!--</div>-->
					</div>
					<table id="agentL3sTable" data-mobile-responsive="true"></table>
				</div>
			</div>
		</div>

		<div>
			<script type="text/javascript">
				var s_edit_h = 'hidden';
				var s_detail_h = 'hidden';
				var s_remove_h = 'hidden';
				var s_resume_h = 'hidden';
				var s_check_h = 'hidden';
			</script>
		</div>
		<div shiro:hasPermission="agentL3:manage:edit">
			<script type="text/javascript">
				s_edit_h = '';
			</script>
		</div>
		<div shiro:hasPermission="agentL3:manage:detail">
			<script type="text/javascript">
				s_detail_h = '';
			</script>
		</div>
		<div shiro:hasPermission="agentL3:manage:remove">
			<script type="text/javascript">
				var s_remove_h = '';
			</script>
		</div>

		<div shiro:hasPermission="agentL3:manage:resume">
			<script type="text/javascript">
				var s_resume_h = '';
			</script>
		</div>
		
		<div shiro:hasPermission="agentL3:manage:check">
			<script type="text/javascript">
				var s_check_h = '';
			</script>
		</div>
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/appjs/agent/manage/agentL3.js"></script>
</body>
</html>